package com.handc.springcloud.service;

import com.handc.springcloud.pojo.Student;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

public interface StudentService {

    public Student queryById(@PathVariable("id") Long id);

    public List<Student> queryAll();
    public boolean addStudent(Student student);
}
